var wait = 60;
function waitTime(obj) {
	if (wait == 0) {
		obj.prop("disabled", false);
		obj.removeClass("disabledBtn");
		obj.val(" 找回密码 ");
		wait = 60;
	} else {
		obj.prop("disabled", true);
		obj.addClass("disabledBtn");
		obj.val(" 重新发送(" + wait + ") ");
		wait--;
		setTimeout(function() {
			waitTime(obj)
		}, 1000)
	}
}

$(document).ready(function() {
	$("#fetchBtn").click(function() {
		$("#fetchMsg").html('已向您的绑定邮箱发送了新密码，请及时查收！去<a href="#">邮箱</a>看看');
		waitTime($("#fetchBtn"));
	});
});